﻿using DietTherapy.Model.ViewModels.UI;
using Microsoft.AspNetCore.Mvc;

namespace DietTherapy.Web.AdminAPI.Controllers
{
    [ApiController]   
    public class DenyController : ControllerBase
    {
        [HttpGet(Name = "Denied")]
        [Route("/api/denied")]
        public async Task<AdminUiCallBack> Deny()
        {
            await Task.FromResult<string>("232");


            var jm = new AdminUiCallBack();
            jm.data = "hd";
            jm.code = 1;
            jm.msg = "拒绝访问";
            return jm;


        }


    }
}
